package org.jeecg.modules.wlhy.captain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: hy_captain
 * @Author: jeecg-boot
 * @Date:   2025-02-14
 * @Version: V1.0
 */
@Data
@TableName("hy_captain")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_captain对象", description="hy_captain")
public class HyCaptain implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**承运商名称*/
	@Excel(name = "承运商名称", width = 15)
    @ApiModelProperty(value = "承运商名称")
    private String captainName;
	/**登录手机号*/
	@Excel(name = "登录手机号", width = 15)
    @ApiModelProperty(value = "登录手机号")
    private String loginPhone;
	/**是否启用(1表示是 0表示否)*/
	@Excel(name = "是否启用(1表示是 0表示否)", width = 15)
    @ApiModelProperty(value = "是否启用(1表示是 0表示否)")
    private String izUsed;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**删除状态(0-正常,1-已删除)*/
	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private String delFlag;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private String userId;
	/**用户名*/
	@Excel(name = "用户名", width = 15)
    @ApiModelProperty(value = "用户名")
    private String userName;
	/**账户名*/
	@Excel(name = "账户名", width = 15)
    @ApiModelProperty(value = "账户名")
    private String bankName;
	/**开户行账号*/
	@Excel(name = "开户行账号", width = 15)
    @ApiModelProperty(value = "开户行账号")
    private String bankNum;
	/**开户行代码*/
	@Excel(name = "开户行代码", width = 15)
    @ApiModelProperty(value = "开户行代码")
    private String bankType;
	/**银行行号*/
	@Excel(name = "银行行号", width = 15)
    @ApiModelProperty(value = "银行行号")
    private String crBankNo;
	/**身份证ID*/
	@Excel(name = "身份证ID", width = 15)
    @ApiModelProperty(value = "身份证ID")
    private String idcard;
	/**身份证正面照片*/
	@Excel(name = "身份证正面照片", width = 15)
    @ApiModelProperty(value = "身份证正面照片")
    private String idcardImg;
	/**身份证反面面照片*/
	@Excel(name = "身份证反面面照片", width = 15)
    @ApiModelProperty(value = "身份证反面面照片")
    private String idcardImgBack;
	/**银行卡正面照片*/
	@Excel(name = "银行卡正面照片", width = 15)
    @ApiModelProperty(value = "银行卡正面照片")
    private String bankImgFront;
    @Excel(name = "开户手机号", width = 15)
    @ApiModelProperty(value = "开户手机号")
    private String khTel;
    @ApiModelProperty(value = "导入标识1表示是 0表示否")
    @Dict(dicCode = "yn")
    private String hyCaptainImportFlag;

}
